<?php
/**
 * @version        $Id: admin_session.php 2014年8月20日Z yeshili $
 * @package        YeshiliCMS.Admin
 * @copyright      Copyright (c) 2014 - 2050, YeshiliCMS, Inc.
 * @license        http://help.****.com/YeshiliCMS/help.html
 * @link           http://www.****.com
 */
session_start();
if (!isset($_SESSION['username']) || !isset($_SESSION['password']) || empty($_SESSION['username']) || empty($_SESSION['password']) ) {
	echo "<script>alert('您还没有登录或者登录时间过长，请登录');top.location='../login.php';</script>";
}
?>